package com.ruoyi.tplus.domain;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.google.gson.JsonObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.Date;
import java.util.List;

/**
 * 收款单、付款单 表头
 * @Data 注释：
 * 相当于@Getter @Setter @RequiredArgsConstructor @ToString @EqualsAndHashCode这5个注解的合集
 * 如果有boolean属性的数据，且属性的名字还不是is开头的，则默认的get方法就会把is给加上。
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class ARAP_ReceivePayment {
    private int id;
    private String code;
    private float exchangeRate;
    private float origAllowances = 0f;
    private float allowances = 0f;
    private float error;
    private String memo;
    private String sourceVoucherCode;
    private float cancelOrigAmount;
    private float cancelAmount;
    private boolean isAuto;
    private float origAmount;
    private float amount;
    private float origPaymentAmount;
    private boolean isReceiveFlag;
    private String maker;
    private String auditor;
    private String reviser;
    private boolean isCarriedForwardOut;
    private boolean isCarriedForwardIn;
    private boolean isModifiedCode;
    private String docId;
//    private Timestamp ts;
    private String priuserdefnvc1;
    private float priuserdefdecm1;
    private String priuserdefnvc2;
    private float priuserdefdecm2;
    private String priuserdefnvc3;
    private float priuserdefdecm3;
    private String priuserdefnvc4;
    private float priuserdefdecm4;
    private String priuserdefnvc5;
    private float priuserdefdecm5;
    private String priuserdefnvc6;
    private float priuserdefdecm6;
    private String pubuserdefnvc1;
    private float pubuserdefdecm1;
    private String pubuserdefnvc2;
    private float pubuserdefdecm2;
    private String pubuserdefnvc3;
    private float pubuserdefdecm3;
    private String pubuserdefnvc4;
    private float pubuserdefdecm4;
    private String pubuserdefnvc5;
    private float pubuserdefdecm5;
    private String pubuserdefnvc6;
    private float pubuserdefdecm6;
    private float origoverPayment;
    private float overPayment;
    private String SaleOrderCode;
    private String PurchaseOrderCode;
    private int PrintCount;
    private int ID	;
    private int idbusitype;//业务类型ID
    private String codebusitype;//业务类型编码
    private String busitype;//业务类型名称
    private int idcurrency;
    private int iddepartment;
    private JSONObject department;
    private int IdStore;
    private int IdMarketingOrgan;
    private int idpartner;
    private String partnername;
    private int idperson;//业务员ID
    private int person;//业务员
    private JSONObject personinfo;
    private int idproject;
    private int IdSettleStyle;
    private String namesettlestyle;
    private int idBankAccount;
    private String namebankaccount;
    private int sourceVoucherID;
    private int cancelState;
    private int settleTime;
    private int voucherstate;
    private int auditorId;
    private int makerId;
    private int PurchaseOrderID;
    private int SaleOrderID;
    private int idvouchertype;
    private Date voucherdate;
    private Date madeDate;
    private Date auditedDate;
    private Date createdTime;
    private float OrigCancelDirectAmount;
    private float CancelDirectAmount;
    private String ExternalCode	;
    private int idHandler;
    private String ordertype;//单据类型 值：收款单、付款单
    private List<ARAP_ReceivePayment_MultiSettle> entity;


}
